﻿using System.Web;
using Sissonix.ExtRest;

namespace Sissonix.ExtRest.Processors
{

    /// <summary>
    /// All processors that are defined in the web.config must implement
    /// this interface.
    /// </summary>
    public interface IExtRestProcessor
    {
        /// <summary>
        /// Processes the specified context.
        /// </summary>
        /// <param name="context">The HttpContext for the current user's request.</param>
        /// <param name="pathSegment">The path segment that was defined in the web.config.</param>
        void ProcessRequest(ExtRestContext context);
    }
}
